package de.fhkiel.webstore.data;

import java.io.Serializable;

public class PaymentRow implements Serializable {

	private static final long serialVersionUID = 1L;

	private Long id;

	private Payment payment;

	private Long itemId;
	
	private Integer count;
	
	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}
	
	public Payment getPaymentId() {
		return payment;
	}

	public void setPayment(Payment payment) {
		this.payment = payment;
	}

	public Long getItemId() {
		return itemId;
	}

	public void setItemId(Long itemId) {
		this.itemId = itemId;
	}

	public Integer getCount() {
		return count;
	}

	public void setCount(Integer count) {
		this.count = count;
	}
	
	@Override
	public String toString() {
		return " ID ["+id+"]"+
				" payment ID ["+payment+"]"+
				" item ID ["+itemId+"]"+
				" item count ["+count+"]";
	}
}
